package com.example.demo.Bean;

import lombok.Data;

import java.io.Serializable;

@Data
public class Result implements Serializable {

    private Integer code;

    private String message;

    private Object obj;

    private Object user;

    public Result(){}

    public Result(Integer code,String message){
        this.message = message;
        this.code = code;
    }

    public Result(Integer code,Object obj){
        this.code = code;
        this.obj = obj;
    }
}
